Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
tags:
$(all_sources) | xargs ctags
+.PHONY: TAGS
+TAGS:
+ $(all_sources) | xargs etags
+
# It's is used for x86_32, x86_32y and x86_64
#
+XEN_ROOT = ../../../..
+include $(XEN_ROOT)/Config.mk
+
# include arch.mk has to be before mini-os.mk!
include arch.mk
void arch_init_p2m(unsigned long max_pfn)
{
-#define L1_P2M_SHIFT 10
-#define L2_P2M_SHIFT 20
-#define L3_P2M_SHIFT 30
+#define L1_P2M_SHIFT 9
+#define L2_P2M_SHIFT 18
+#define L3_P2M_SHIFT 27
#define L1_P2M_ENTRIES (1 << L1_P2M_SHIFT)
#define L2_P2M_ENTRIES (1 << (L2_P2M_SHIFT - L1_P2M_SHIFT))
#define L3_P2M_ENTRIES (1 << (L3_P2M_SHIFT - L2_P2M_SHIFT))